<h1>New features</h1>

<%= error_messages_for :feature %>

<% form_for(:feature, :url => features_path,:html=>{:multipart=>true}) do |f| %>
<div class="FormBlock">
  <p>
    <b>Name</b><br />
    <%= f.text_field :name %>
  </p>

  <p>
    <b>Image</b><br />
    <%= file_field_tag :file%>
  </p>

  <p>
    <b>label cn</b><br />
    <%= f.text_field :label_cn %><br/>
    <b>title cn</b><br />
    <%= f.text_field :title_cn %><br/>
    <b>Intro cn</b><br />
    <%= f.text_area :intro_cn %>
  </p>

  <p>
    <b>Intro en</b><br />
    <%= f.text_area :intro_en %>
  </p>

  <p>
    <b>Intro big5</b><br />
    <%= f.text_area :intro_big5 %>
  </p>

  <p>
    <%= submit_tag "Create" %>
  </p>
  </div>
<% end %>

